package com.freemalll.merchant.domain.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

/**
 * @author songshixiong
 * @ClassName MerBackCardDto
 * @description:
 * @date 2025年05月26日
 * @version: 1.0
 */
@Data
public class MerBackCardDto {

    @Schema(description = "主键")
    private String cardId;

    @Schema(description = "收款偏好 0:仅对公 1 仅对私 2 仅自主 3 优先对公 4优先对私 5 优先自主 6 无偏好")
    @NotBlank(message = "收款偏好不能为空")
    private String paymentPreference;

    @Schema(description = "商户id")
    @NotBlank(message = "商户id不能为空")
    private String merId;

    @Schema(description = "户名")
    @NotBlank(message = "户名不能为空")
    private String cardAccountName;

    @Schema(description = "卡类型(private：对私，public:对公 selfPayment:自主支付)")
    @NotBlank(message = "卡类型不能为空")
    private String cardType;

    @Schema(description = "账号")
    @NotBlank(message = "账号不能为空")
    private String cardNo;

    @Schema(description = "开户行")
    @NotBlank(message = "开户行不能为空")
    private String cardBankName;

    @Schema(description = "联行号")
    private String cardPrcptcd;

    @Schema(description = "是否启用 0:否 1:是")
    private Boolean cardStatus;

}
